home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 4
/
Apprentice-Release4.iso
/
Source Code
/
C
/
Frameworks
/
Grant's CGI Framework 1.0b12
/
Util
/
PrefUtil.c
< prev
next >
Wrap
Text File
|
1995-12-09
|
2KB
|
94 lines
/*****
*
* PrefUtil.c
*
* ••• This file has hardly begun and doesn't do anything yet.
* PLEASE IGNORE THIS FILE FOR NOW
*
* This is a support file for "Grant's CGI Framework".
* Please see the license agreement that accompanies the distribution package
* for licensing details.
*
* Copyright ©1995 by Grant Neufeld
* grant@acm.com
* http://arpp1.carleton.ca/grant/
*
*****/
#include "compiler_stuff.h"
#include "constants.h"
#include "globals.h"
#include "ErrorUtil.h"
#include "MemoryUtil.h"
#include "ProcessUtil.h"
#include "StringUtil.h"
#include "PrefUtil.h"
/*** LOCAL VARIABLES ***/
short vPrefFileRef; /* reference of the open preference file */
/*** FUNCTIONS ***/
/* */
void
PrefStartup ( void )
{
} /* */
/** Prefs File Access **/
#pragma mark -
/* Save the data as the specified resource in the preferences file.
If the file doesn't exist yet, create it. */
void
PrefSaveItem ( short theResID, ResType theResType, void *theData, short theSize )
{
} /* PrefSaveItem */
/* Create the preferences file. */
OSErr
PrefCreateFile ( void )
{
OSErr theErr;
theErr = noErr; //•••
return theErr;
} /* PrefCreateFile */
/* Open the preferences file and set it as the current resource file. */
OSErr
PrefOpenFile ( void )
{
OSErr theErr;
theErr = noErr; //•••
return theErr;
} /* PrefOpenFile */
/* Close the preferences file. */
OSErr
PrefCloseFile ( void )
{
OSErr theErr;
theErr = noErr; //•••
return theErr;
} /* PrefCloseFile */
/***** EOF *****/